<?php if(isset($weather) && !empty($weather['condition'])): ?>
<?php e($html->css('weather', 'stylesheet', null, false)); ?>
<div class="weather">
    <div id="yw-forecast">
        <!--div id="yw-cond"><?php e($weather['condition']['text']); ?></div-->
        <dl>
            <dt><?php __('Feels Like'); ?>:</dt>
            <dd><?php e($weather['condition']['temp']); ?>°C</dd><br class="clear"/>
            <dt><?php __('Barometer'); ?>:</dt>
            <dd style="position: relative;">
                <?php e($weather['atmosphere']['pressure']); ?>&nbsp;
                <?php __('MP and steady'); ?>
            </dd><br class="clear"/>
            <dt><?php __('Humidity'); ?>:</dt>
            <dd><?php e($weather['atmosphere']['humidity']); ?>%</dd><br class="clear"/>
            <dt><?php __('Visibility'); ?>:</dt>
            <dd>
                <?php e($weather['atmosphere']['visibility']); ?>&nbsp;
                <?php __('KM'); ?>
            </dd><br class="clear"/>
            <dt><?php __('Wind'); ?>:</dt>
            <dd>
                <?php e($weather['wind']['speed']); ?>&nbsp;
                <?php __('MPH'); ?>
            </dd><br class="clear"/>
            <dt><?php __('Sunrise'); ?>:</dt>
            <dd><?php e(up($weather['astronomy']['sunrise'])); ?></dd><br class="clear"/>
            <dt><?php __('Sunset'); ?>:</dt>
            <dd><?php e(up($weather['astronomy']['sunset'])); ?></dd><br class="clear"/>
        </dl>
        <div class="forecast-temp">
            <div id="yw-temp"><?php e($weather['condition']['temp']); ?>°</div>
            <p>
                <?php __('High'); ?>: <?php e($weather['tonight']['high']);  ?>°
                <?php __('Low'); ?>: <?php e($weather['tonight']['low']);  ?>°
            </p>
        </div>
        <div class="forecast-icon" style="background: transparent url(<?php e($weather['image']); ?>) no-repeat scroll 0% 0%;"></div>
        <div id="yw-forecasts">
            <div class="forecast tonight" style="background-image: url(<?php e($weather['tonight']['image']); ?>);">
                <span class="text">
                    <strong><?php __('Tonight'); ?></strong>
                    <?php e($weather['tonight']['text']);  ?>
                </span>
                <span class="high"><?php __('High'); ?>: <?php e($weather['tonight']['high']);  ?>°</span>
                <span class="high"><?php __('Low'); ?>: <?php e($weather['tonight']['low']);  ?>°</span>
            </div>
            <div class="forecast tomorrow" style="background-image: url(<?php e($weather['tomorrow']['image']); ?>);">
                <span class="text">
                    <strong><?php __('Tomorrow'); ?></strong>
                    <?php e($weather['tomorrow']['text']);  ?>
                </span>
                <span class="high"><?php __('High'); ?>: <?php e($weather['tomorrow']['high']);  ?>°</span>
                <span class="low"><?php __('Low'); ?>: <?php e($weather['tomorrow']['low']);  ?>°</span>
            </div>
            <br class="clear"/>
        </div>
        <em><?php e($html->link($weather['description'], $weather['link'][1], array('rel'=>'external'))); ?></em>
    </div>
    <?php //debug($weather); ?>
</div>
<?php else: ?>
<p><?php __('Failed to retrieve weather information from Yahoo Weather Service'); ?></p>
<?php endif; ?>